package com.scar1et.factory.method.operation;

/**
 * 计算基类
 * Created by scar1et on 15-10-24.
 */
public abstract class Operation {

    private double numA;
    private double numB;

    public abstract double getResult() throws Exception;

    public double getNumA() {
        return numA;
    }

    public void setNumA(double numA) {
        this.numA = numA;
    }

    public double getNumB() {
        return numB;
    }

    public void setNumB(double numB) {
        this.numB = numB;
    }
}
